package com.kly.user.config;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.GlobalConfiguration;
import com.alibaba.excel.metadata.data.CellData;
import com.alibaba.excel.metadata.property.ExcelContentProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.joda.time.convert.AbstractConverter;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;



public class UploadUserDto {
    @ExcelProperty(index = 0)
    private String id;
    @ExcelProperty(index = 1)
    private String nickName;
    @ExcelProperty(index = 2)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "dd/MM/yyyy")
    private Date birthday;
    @ExcelProperty(index = 3)
    @NotNull(message = "gender cannot be empty")
    private String gender;
    @ExcelProperty(index = 4)
    private String lookingFor;
    @ExcelProperty(index = 5)
    private String interests;
    @ExcelProperty(index = 6)
    private String aboutMe;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getLookingFor() {
        return lookingFor;
    }

    public void setLookingFor(String lookingFor) {
        this.lookingFor = lookingFor;
    }

    public String getInterests() {
        return interests;
    }

    public void setInterests(String interests) {
        this.interests = interests;
    }

    public String getAboutMe() {
        return aboutMe;
    }

    public void setAboutMe(String aboutMe) {
        this.aboutMe = aboutMe;
    }
}
